<!--
@author	Yi Bo <etng2004@gmail.com>
@version	$Id: staff_view.php 49 2007-09-06 07:17:07Z etng2004 $
@copyrithg	2006-2007 ETE.CN
@license 	PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
-->
<?php
$this->declareVars();
require_once(dirname(__FILE__) . '/_meta_staff.php');
echo $this->render('header.php');
//$this->dump($this->staff);
?>
<?php
$staff = $this->staff;
?>
<h3>
<a href="<?php echo $this->base_url; ?>/view/id/<?php echo $staff['id']; ?>"><?php echo $staff['name']; ?></a>
</h3>
<?php echo date('Y-m-d', $staff['created_at']); ?>
<hr />
<table cellspacing="0" cellpadding="0" class="tblborder">
  	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['id'];?></td><td><?php echo $staff['id'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['username'];?></td><td><?php echo $staff['username'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['name'];?></td><td><?php echo $staff['name'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['email'];?></td><td><?php echo $staff['email'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['msn'];?></td><td><?php echo $staff['msn'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['qq'];?></td><td><?php echo $staff['qq'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['phone'];?></td><td><?php echo $staff['phone'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['cellphone'];?></td><td><?php echo $staff['cellphone'];?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['created_at'];?></td><td><?php echo date('Y-m-d', $staff['created_at']);?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['updated_at'];?></td><td><?php echo date('Y-m-d', $staff['created_at']);?></td>
	</tr>
	        	<tr class="tblbody">
		<td><?php echo $meta['staff']['fields']['deleted_at'];?></td><td><?php echo date('Y-m-d', $staff['deleted_at']);?></td>
	</tr>
	        </table>
<a href="<?php echo $this->base_url; ?>/edit/id/<?php echo $staff['id']; ?>">编辑</a>
<a href="<?php echo $this->base_url; ?>/remove/id/<?php echo $staff['id']; ?>">删除</a>
